package com.dein.user.dao;

import com.dein.user.model.User;
import org.apache.ibatis.annotations.Param;

public interface UserDao {

    public Long userLogin(
            @Param(value="userName") String userName,
            @Param(value = "userPw") String userPw
    );

    public User getUserById(
            @Param(value="userId") Long userId
    );

    public void updateUser(User user);

    public int userExist(
            @Param(value="userName") String userName
    );

    public void userRegist(User user);
}
